<!-- 首页 -->
<script setup>
	import accountHeader from './components/allamount.vue'
	import Header from './components/FrontPage/header.vue'
	import HeaderDiff from './components/FrontPage/headerDiff.vue'
	import Menu from './components/FrontPage/menu.vue'
	import Footer from './components/FrontPage/footer.vue'
	import {
		DIFF_HOME_BANNER
	} from '@/config/index'
	import {
		useMainStore
	} from '@/store/index.js'
	const mainStore = useMainStore()
	onMounted(() => {
		mainStore.getSettingConfig()
	})
</script>

<template>
	<view>
		<!-- header start -->
		<HeaderDiff v-if="DIFF_HOME_BANNER.includes(_getConfig('_APP_ENV'))"></HeaderDiff>

		<Header v-else></Header>
		<!-- header end -->
		<accountHeader style="margin-top: 52px;"></accountHeader>

		<!-- menu start -->
		<Menu></Menu>
		<!-- menu end -->
		<Footer></Footer>
	</view>
</template>